package com.chris.libs.example.pages.ext.swiperefresh;

import com.chris.libs.base.x.mvpp.mvpp.BaseView;
import com.chris.libs.base.x.mvpp.mvpp.StandardPresenter;

/**
 * @author Chris Chan
 * Create on： 2025-09-12 15:25
 * Use for: SwipeRefresh 契约
 * Explain:
 */
public interface SwipeRefreshContract {
    // 视图接口
    interface UIView extends BaseView {
    }

    // 业务处理接口
    interface Presenter extends StandardPresenter<UIView> {
        void requestAndUpdate();
        // 刷新数据
        void refreshData();
    }
}
